@import 'src/app/common/styles/variable/index.scss';
@import 'src/app/common/styles/mixin/index.scss';
.cp-estate-news {
    .title {
        font-size: 0.16rem;
    }
    .time {
        margin: 0.08rem 0 0.16rem;
        font-size: 0.1rem;
        color: $font3;
    }
    .desc {
        font-size: 0.13rem;
        line-height: 0.18rem;
        color: $font2;
    }

    .p {
        position: relative;
        line-height: .2rem;
        max-height: .6rem;//最大高度为行高的整数倍，此处代表3行文本
        overflow: hidden;
     }
     
     .p::after {//后伪元素
        content: "...";
        position: absolute;
        bottom: 0;
        right: 0;
        padding-left: .4rem;
        background: -webkit-linear-gradient(left, transparent, #fff 55%);
        background: -o-linear-gradient(right, transparent, #fff 55%);
        background: -moz-linear-gradient(right, transparent, #fff 55%);
        background: linear-gradient(to right, transparent, #fff 55%);
     }   
     
}